{include file="common/header" /}
<!-- 中间区域 -->
<main>
    <section>
        <div class="layui-main">
            <form class="order-select-form layui-form" >
                <ul class="layui-row layui-col-space24 ul_height ">
                    <li class="layui-col-md6 layui-col-xs12">
                        <div class="item"><span>产品类别:</span>
                            <div class="block">
                                <select>
                                    {volist name="goods_cate" id="cat"} 
                                         <option value="{$cat.id}">{$cat.title}</option>
                                    {/volist}
                                   
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md6 layui-col-xs12">
                    </li>
                    <li class="layui-col-md6 layui-col-xs12">
                        <div class="item"><span>产品类别:</span>
                            <div class="block">
                                <select>
                                    <option>钻头</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md6 layui-col-xs12">
                        <div class="item"><span>产品系列:</span>
                            <div class="block">
                                <select>
                                    <option>钻削XXXXXXXXXXX刀具</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>编号:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>名称:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>型号:</span>
                            <div class="block">
                                <div class="select-auto-box">
                                    <input lay-on="xinghao" readonly="" class="layui-input" value="" placeholder="不指定">
                                    <dl class="select-box">
                                        <dd><span class="text">123</span><i></i></dd>
                                        <dd><span class="text">123</span><i></i></dd>
                                    </dl>
                                </div>


                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>品牌:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>最小包装:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>最低起售:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>库存种类:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>重量:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>简介:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>种类:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>材质:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>直径:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>长度:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>刃数:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>冷却:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>系列:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>柄部:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>详细尺寸:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>
                    <li class="layui-col-md4 layui-col-xs12">
                        <div class="item"><span>涂层:</span>
                            <div class="block">
                                <select>
                                    <option value="">不指定</option>
                                </select>
                            </div>
                        </div>
                    </li>

                </ul>

                <div class="flex-center mt40 gap30 gap10-xs">
                    <button type="reset" class="layui-btn">重置选项</button>
                    <button class="layui-btn">立即查询</button>
                </div>
            </form>

            <div class="mt26 select_list_total">
                <div class="d-flex al-c gap20 layui-form">
                    <span>排序</span>
                    <select>
                        <option>默认</option>
                    </select>
                </div>
                <span class="ft20">搜索到1234条</span>
                <div class="pagenum2">
                    <div id="demo-laypage-normal-2"></div>
                </div>
            </div>


            <ul class="select-product mt30">
                <li>
                    <div>
                        <i class="check-img"></i>
                    </div>
                    <div class="info">
                        <div class="img_100">
                            <img src="/public/home/images/pic.png">
                        </div>
                          <div class="num-box" data-type="number">
                        <i lay-on="sub" class="layui-icon layui-icon-subtraction"></i>
                       <input data-name="number" class="layui-input"  value="18">
                        <i lay-on="add" class="layui-icon layui-icon-addition"></i>
                    </div>
                    <a class="layui-btn layui-btn-primy">加入购物车</a>
                    <a class="layui-btn layui-btn-primy">查看详情</a>
                    </div>
                    <dl>
                        <dd>编号：XXXXXXXXXXXX</dd>
                        <dd>名称：XXXXXXXXXXXX</dd>
                        <dd>型号：XXXXXXXXXXXX</dd>
                        <dd>品牌：XXXXXXXXXXXX</dd>
                        <dd>最小包装：XXXXXXXXXXXX</dd>
                        <dd>最低起售：XXXXXXXXXXXX</dd>
                        <dd>库存种类：XXXXXXXXXXXX</dd>
                        <dd>重量 ：XXXXXXXXXXXX</dd>
                        <dd>简介：XXXXXXXXXXXX</dd>
                        <dd>种类：XXXXXXXXXXXX</dd>
                        <dd>材质：XXXXXXXXXXXX</dd>
                        <dd>直径：XXXXXXXXXXXX</dd>
                        <dd>长度：XXXXXXXXXXXX</dd>
                        <dd>刃数 ：XXXXXXXXXXXX</dd>
                        <dd>冷却：XXXXXXXXXXXX</dd>
                        <dd>系列：XXXXXXXXXXXX</dd>
                        <dd>柄部：XXXXXXXXXXXX</dd>
                        <dd>详细尺寸：XXXXXXXXXXXX</dd>
                        <dd>涂层：XXXXXXXXXXXX</dd>
                    </dl>
                </li>  <li>
                    <div>
                        <i class="check-img"></i>
                    </div>
                    <div class="info">
                        <div class="img_100">
                            <img src="/public/home/images/pic.png">
                        </div>
                          <div class="num-box" data-type="number">
                        <i lay-on="sub" class="layui-icon layui-icon-subtraction"></i>
                       <input data-name="number" class="layui-input"  value="18">
                        <i lay-on="add" class="layui-icon layui-icon-addition"></i>
                    </div>
                    <a class="layui-btn layui-btn-primy">加入购物车</a>
                    <a class="layui-btn layui-btn-primy">查看详情</a>
                    </div>
                    <dl>
                        <dd>编号：XXXXXXXXXXXX</dd>
                        <dd>名称：XXXXXXXXXXXX</dd>
                        <dd>型号：XXXXXXXXXXXX</dd>
                        <dd>品牌：XXXXXXXXXXXX</dd>
                        <dd>最小包装：XXXXXXXXXXXX</dd>
                        <dd>最低起售：XXXXXXXXXXXX</dd>
                        <dd>库存种类：XXXXXXXXXXXX</dd>
                        <dd>重量 ：XXXXXXXXXXXX</dd>
                        <dd>简介：XXXXXXXXXXXX</dd>
                        <dd>种类：XXXXXXXXXXXX</dd>
                        <dd>材质：XXXXXXXXXXXX</dd>
                        <dd>直径：XXXXXXXXXXXX</dd>
                        <dd>长度：XXXXXXXXXXXX</dd>
                        <dd>刃数 ：XXXXXXXXXXXX</dd>
                        <dd>冷却：XXXXXXXXXXXX</dd>
                        <dd>系列：XXXXXXXXXXXX</dd>
                        <dd>柄部：XXXXXXXXXXXX</dd>
                        <dd>详细尺寸：XXXXXXXXXXXX</dd>
                        <dd>涂层：XXXXXXXXXXXX</dd>
                    </dl>
                </li>  <li>
                    <div>
                        <i class="check-img"></i>
                    </div>
                    <div class="info">
                        <div class="img_100">
                            <img src="/public/home/images/pic.png">
                        </div>
                          <div class="num-box" data-type="number">
                        <i lay-on="sub" class="layui-icon layui-icon-subtraction"></i>
                       <input data-name="number" class="layui-input"  value="18">
                        <i lay-on="add" class="layui-icon layui-icon-addition"></i>
                    </div>
                    <a class="layui-btn layui-btn-primy">加入购物车</a>
                    <a class="layui-btn layui-btn-primy">查看详情</a>
                    </div>
                    <dl>
                        <dd>编号：XXXXXXXXXXXX</dd>
                        <dd>名称：XXXXXXXXXXXX</dd>
                        <dd>型号：XXXXXXXXXXXX</dd>
                        <dd>品牌：XXXXXXXXXXXX</dd>
                        <dd>最小包装：XXXXXXXXXXXX</dd>
                        <dd>最低起售：XXXXXXXXXXXX</dd>
                        <dd>库存种类：XXXXXXXXXXXX</dd>
                        <dd>重量 ：XXXXXXXXXXXX</dd>
                        <dd>简介：XXXXXXXXXXXX</dd>
                        <dd>种类：XXXXXXXXXXXX</dd>
                        <dd>材质：XXXXXXXXXXXX</dd>
                        <dd>直径：XXXXXXXXXXXX</dd>
                        <dd>长度：XXXXXXXXXXXX</dd>
                        <dd>刃数 ：XXXXXXXXXXXX</dd>
                        <dd>冷却：XXXXXXXXXXXX</dd>
                        <dd>系列：XXXXXXXXXXXX</dd>
                        <dd>柄部：XXXXXXXXXXXX</dd>
                        <dd>详细尺寸：XXXXXXXXXXXX</dd>
                        <dd>涂层：XXXXXXXXXXXX</dd>
                    </dl>
                </li>  <li>
                    <div>
                        <i class="check-img"></i>
                    </div>
                    <div class="info">
                        <div class="img_100">
                            <img src="/public/home/images/pic.png">
                        </div>
                          <div class="num-box" data-type="number">
                        <i lay-on="sub" class="layui-icon layui-icon-subtraction"></i>
                       <input data-name="number" class="layui-input"  value="18">
                        <i lay-on="add" class="layui-icon layui-icon-addition"></i>
                    </div>
                    <a class="layui-btn layui-btn-primy">加入购物车</a>
                    <a class="layui-btn layui-btn-primy">查看详情</a>
                    </div>
                    <dl>
                        <dd>编号：XXXXXXXXXXXX</dd>
                        <dd>名称：XXXXXXXXXXXX</dd>
                        <dd>型号：XXXXXXXXXXXX</dd>
                        <dd>品牌：XXXXXXXXXXXX</dd>
                        <dd>最小包装：XXXXXXXXXXXX</dd>
                        <dd>最低起售：XXXXXXXXXXXX</dd>
                        <dd>库存种类：XXXXXXXXXXXX</dd>
                        <dd>重量 ：XXXXXXXXXXXX</dd>
                        <dd>简介：XXXXXXXXXXXX</dd>
                        <dd>种类：XXXXXXXXXXXX</dd>
                        <dd>材质：XXXXXXXXXXXX</dd>
                        <dd>直径：XXXXXXXXXXXX</dd>
                        <dd>长度：XXXXXXXXXXXX</dd>
                        <dd>刃数 ：XXXXXXXXXXXX</dd>
                        <dd>冷却：XXXXXXXXXXXX</dd>
                        <dd>系列：XXXXXXXXXXXX</dd>
                        <dd>柄部：XXXXXXXXXXXX</dd>
                        <dd>详细尺寸：XXXXXXXXXXXX</dd>
                        <dd>涂层：XXXXXXXXXXXX</dd>
                    </dl>
                </li>  <li>
                    <div>
                        <i class="check-img"></i>
                    </div>
                    <div class="info">
                        <div class="img_100">
                            <img src="/public/home/images/pic.png">
                        </div>
                          <div class="num-box" data-type="number">
                        <i lay-on="sub" class="layui-icon layui-icon-subtraction"></i>
                       <input data-name="number" class="layui-input"  value="18">
                        <i lay-on="add" class="layui-icon layui-icon-addition"></i>
                    </div>
                    <a class="layui-btn layui-btn-primy">加入购物车</a>
                    <a class="layui-btn layui-btn-primy">查看详情</a>
                    </div>
                    <dl>
                        <dd>编号：XXXXXXXXXXXX</dd>
                        <dd>名称：XXXXXXXXXXXX</dd>
                        <dd>型号：XXXXXXXXXXXX</dd>
                        <dd>品牌：XXXXXXXXXXXX</dd>
                        <dd>最小包装：XXXXXXXXXXXX</dd>
                        <dd>最低起售：XXXXXXXXXXXX</dd>
                        <dd>库存种类：XXXXXXXXXXXX</dd>
                        <dd>重量 ：XXXXXXXXXXXX</dd>
                        <dd>简介：XXXXXXXXXXXX</dd>
                        <dd>种类：XXXXXXXXXXXX</dd>
                        <dd>材质：XXXXXXXXXXXX</dd>
                        <dd>直径：XXXXXXXXXXXX</dd>
                        <dd>长度：XXXXXXXXXXXX</dd>
                        <dd>刃数 ：XXXXXXXXXXXX</dd>
                        <dd>冷却：XXXXXXXXXXXX</dd>
                        <dd>系列：XXXXXXXXXXXX</dd>
                        <dd>柄部：XXXXXXXXXXXX</dd>
                        <dd>详细尺寸：XXXXXXXXXXXX</dd>
                        <dd>涂层：XXXXXXXXXXXX</dd>
                    </dl>
                </li>
            </ul>

            <div class="pagenum1">

                <div id="demo-laypage-normal-1"></div>
            </div>
        </div>
    </section>
</main>
<div class="order-confrim">
    <div class="layui-main d-flex al-c jc-s">
        <div>购物车已选择<span data-count="all"> 1</span> 件产品</div>
        <button class="layui-btn red-btn">立即下单</button>
    </div>
</div>
<script src="__ROOT__/public/home/js/index.js"></script>

<script>
    layui.use(function () {
        var laypage = layui.laypage;
        // 普通用法
        laypage.render({
            elem: 'demo-laypage-normal-1',
            count: 50 // 数据总数
        });

        laypage.render({
            elem: 'demo-laypage-normal-2',
            count: 100,
            first: '首页',
            last: '尾页',
            prev: false,
            next: false
        });
    });

  

</script>
<script>
    $(document).on('click', '.select-box dd', function () {
        $(this).toggleClass('active');
        var arr = [];
        $(this).closest('dl').find('.active').each(function () {
            arr.push($(this).find('span').text())
        })
        console.log(arr)
        $(this).closest('.select-auto-box').children('input').val(arr.join('、'))
    })
    
    $(document).on('click', '.check-img', function () {
        $(this).closest('li').toggleClass('active')
        $('[data-count="all"]').text($('.select-product li.active').length)
    })
    
</script>
<!-- 中间区域结束 -->
{include file="common/footer" /}